<template>
    <el-input-number v-model="value" v-bind='$attrs' controls-position="right" size="mini"
        @change="getValue">
    </el-input-number>
</template>

<script>
    export default {
        data() {
            return {
                value:undefined,
            }
        },
        props:{
           
        },
        mounted(){
            this.$emit('emitValue',undefined)
        },
        methods:{
            getValue(val){
                this.$emit('emitValue',val)
            },
            reset(){
                this.value = undefined
            }
        }
    }
</script>

<style lang="less" scoped>
  
</style>